{template "header.html"}

<div class="note note-danger">
    <p>域名授权系统是将本软件授权于你的客户，你的客户安装CMS后，可以在后台通过授权链接来查询域名授权证书</p>
</div>
<form action="" class="form-horizontal" method="post" name="myform" id="myform">
    {$form}
    <div class="portlet bordered light myfbody">
        <div class="portlet-title tabbable-line">
            <ul class="nav nav-tabs" style="float:left;">
                <li class="{if $page==0}active{/if}">
                    <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('授权设置')} </a>
                </li>

            </ul>
        </div>
        <div class="portlet-body">
            <div class="tab-content">

                <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
                    <div class="form-body">

                        <div class="form-group">
                            <label class="col-md-2 control-label">授权地址</label>
                            <div class="col-md-6">
                                <p class="form-control-static"> {SITE_URL} </p>
                                <span class="help-block">此地址用于填写在开企宝认证系统的域名授权地址中</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-2 control-label">授权证书上传</label>
                            <div class="col-md-6">
                               {$zsfield}
                                <span class="help-block">用于授权信息页面展示的证书背景</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-2 control-label">{dr_lang('页面Title')}</label>
                            <div class="col-md-9">
                                <input name="data[title]" value="{$data['title']}" class="form-control" type="text" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-2 control-label">{dr_lang('页面Keywords')}</label>
                            <div class="col-md-9">
                                <textarea class="form-control " style="height:60px" name="data[keywords]">{$data['keywords']}</textarea>

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-2 control-label">{dr_lang('页面Description')}</label>
                            <div class="col-md-9">
                                <textarea class="form-control " style="height:90px" name="data[description]">{$data['description']}</textarea>

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-md-2 control-label">授权证书查询页面模板</label>
                            <div class="col-md-6">
                                <p class="form-control-static"> */{SITE_TEMPLATE}/license/domain_search.html </p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-md-2 control-label">授权证书详细页面模板</label>
                            <div class="col-md-6">
                                <p class="form-control-static"> */{SITE_TEMPLATE}/license/domain_show.html </p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-md-2 control-label">未查询到的页面模板</label>
                            <div class="col-md-6">
                                <p class="form-control-static"> */{SITE_TEMPLATE}/license/domain_error.html </p>
                            </div>
                        </div>

                    </div>
                </div>



            </div>
        </div>
    </div>

    <div class="portlet-body form myfooter">
        <div class="form-actions text-center">
            <button type="button" onclick="dr_ajax_submit('{dr_now_url()}&page='+$('#dr_page').val(), 'myform', '2000')" class="btn green"> <i class="fa fa-save"></i> {dr_lang('保存')}</button>
        </div>
    </div>
</form>
{template "footer.html"}